<?php
session_start();
include_once 'GestionarBD.php';
include_once 'GestionarConexionBD.php';
$idhabitacion=$_REQUEST['des'];
$conexion=CrearConexionBD();
$hab=gethabitacion($idhabitacion,$conexion);
CerrarConexionBD($conexion);
?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>HM Hoteles</title>
        <link type="text/css" rel="stylesheet" href="css/index.css">
    </head>
    <body>
<div id="datoshab">
	<div id="id"><?php echo($hab['idhabitacion']);?></div>
	<div id="tipo"><?php echo($hab['tipo']);?></div>
	<div id="DescripcionD"><?php echo($$hab['informacion']);?></div>
	<div id="reservar">
		<form action="persona.php" method="post">
			<button name="reservar" type="submit" value="<?php echo($hab['idhabitacion']);?>">Reservar</button>
		</form></div>
</div>
</body></html>

